package com.market.dao.phonenumber;

import com.market.dao.base.BaseDaoImpl;
import com.market.entity.phonenumber.PhoneNumber;
import org.springframework.stereotype.Repository;

@Repository("phoneNumberDao")
public class PhoneNumberDao extends BaseDaoImpl<PhoneNumber> {

    public int delete(String phoneNumber){
        int result = super.getSqlSession().delete(getStatement("deleteById"),phoneNumber);
        return result;
    }

}
